package com.wise.site.protocol.result;

import java.util.ArrayList;
import java.util.List;

import com.wise.site.protocol.base.SoapItem;
import com.wise.site.protocol.base.SoapResult;

public class ImageItemsResult extends SoapResult {
	private List<SoapItem> list;

	@Override
	public void parseData(String response) throws Exception {
		list = new ArrayList<SoapItem>();
		test();
	}
	
	private void test() throws Exception {
		ImageItem item = new ImageItem();
		item.parse(null);
		list.add(item);
		item = new ImageItem();
		item.parse(null);
		list.add(item);
		item = new ImageItem();
		item.parse(null);
		list.add(item);
		item = new ImageItem();
		item.parse(null);
		list.add(item);
	}

	public List<SoapItem> getList() {
		return list;
	}

	public void setList(List<SoapItem> list) {
		this.list = list;
	}

	@Override
	public String toString() {
		return "ImageItemsResult [list=" + list + "]";
	}
	
	

}
